
import java.awt.image.BufferedImage;
import java.io.PrintStream;
import java.net.URL;
import javax.imageio.ImageIO;
import java.lang.Math;

class Paths
{
    public static String 
    GREEN_BOARD = "images/Table.png",
    BLACK_CARD =  "images/BlackCard.png",
    WHITE_CARD =  "images/WhiteCard.png";
    BufferedImage  giveImage(String resourcePath)
    { 
        try {
            URL uri = this.getClass().getResource(resourcePath);
            return ImageIO.read(uri);
        }
        catch (Exception ex)
        {
            System.out.println("Cannot find " + resourcePath);
        }
        return null;
    }

    BufferedImage giveImage_giveBackgroundWalls() {
        try {
            URL uri = this.getClass().getResource("images/MAP_WALLS.jpg");
            return ImageIO.read(uri);
        }
        catch (Exception ex)
        {
            System.out.println("no can do");
        }
        return null;
    }

    public BufferedImage giveImage_giveBackground()
    {
        try {
            URL uri = this.getClass().getResource("images/MAP.png");
            return ImageIO.read(uri);
        }
        catch (Exception ex)
        {
        }
        return null;
    }

    public BufferedImage giveImage_giveBackgroundTable()
    {
        try {
            URL uri = this.getClass().getResource("images/Table.png");
            return ImageIO.read(uri);
        }
        catch (Exception ex)
        {
            System.out.println("Cannot fing Board Picutre");
        }
        return null;
    }

    public BufferedImage giveImage_giveJeansPlayer()
    {
        try {
            URL uri = this.getClass().getResource("images/player/player_jeans.png");
            return ImageIO.read(uri);
        }
        catch (Exception ex)
        {
        }
        return null;
    }

    public BufferedImage giveImage_giveKleidPlayer()
    {
        try {
            URL uri = this.getClass().getResource( "images/player/Player_ballKleid.png");
            return ImageIO.read(uri);
        }
        catch (Exception ex)
        {
        }
        return null;
    }

    public BufferedImage giveImage_giveCappyPlayer()
    {
        try {
            URL uri = this.getClass().getResource("images/player/player_cappy.png");
            return ImageIO.read(uri);
        }
        catch (Exception ex)
        {
        }
        return null;
    }

    public BufferedImage giveImage_giveNakedPlayer()
    {
        try {
            URL uri = this.getClass().getResource( "images/player/player_naked.png");
            return ImageIO.read(uri);
        }
        catch (Exception ex)
        {
        }

        return null;
    }

    public BufferedImage giveImage_giveSchwimmPlayer()
    {
        try {
            URL uri = this.getClass().getResource("images/player/player_schwimmsuit.png");
            return ImageIO.read(uri);
        }
        catch (Exception ex)
        {
        }

        return null;
    }

    public BufferedImage giveImage_giveSuitPlayer()
    {
        try {
            URL uri = this.getClass().getResource("images/player/player_suit.png");
            return ImageIO.read(uri);
        }
        catch (Exception ex)
        {
        }

        return null;
    }

    public BufferedImage giveImage_giveTotalPlayer()
    {
        try {
            URL uri = this.getClass().getResource("images/player/player_total.png");
            return ImageIO.read(uri);
        }
        catch (Exception ex)
        {
        }

        return null;
    }

    public BufferedImage giveNPC_Jimmy_Faceless() {
        try {
            URL uri = this.getClass().getResource("images/NPCs/Peter_Po.png");
            return ImageIO.read(uri);
        }
        catch (Exception ex)
        {
            System.out.println("couldnt find jimmy faceless");
        }
        return null;
    }

    public BufferedImage giveBlackCard() {
        try {
            URL uri = this.getClass().getResource("images/BlackCard.png");
            return ImageIO.read(uri);
        }
        catch (Exception ex)
        {
            System.out.println("couldnt find BlackCard Picture");
        }
        return null;
    }

    public BufferedImage giveWhiteCard() {
        try {
            URL uri = this.getClass().getResource("images/WhiteCard.png");
            return ImageIO.read(uri);
        }
        catch (Exception ex)
        {
            System.out.println("couldnt find WhiteCard Picture");
        }
        return null;
    }

}